import request from "@/utils/requestMd5";

export function get_empty_members(params) {
  return request({
    url: "/empty/members",
    method: "get",
    params
  });
}

export function get_empty_membersnot(params) {
  return request({
    url: "/empty/membersNot",
    method: "get",
    params
  });
}

export function bind_user(data) {
  return request({
    url: "/empty/bind",
    method: "post",
    data: data
  });
}

export function batch_bind_user(data) {
  return request({
    url: "/empty/batchBind",
    method: "post",
    data: data
  });
}

export function unbind_user(data) {
  return request({
    url: "/empty/unbind",
    method: "post",
    data: data
  });
}

export function batch_unbind_user(data) {
  return request({
    url: "/empty/batchUnbind",
    method: "post",
    data: data
  });
}

export function get_empty_index(params) {
  return request({
    url: "/empty/index",
    method: "get",
    params
  });
}

export function get_empty_info(params) {
  return request({
    url: "/empty/info",
    method: "get",
    params
  });
}

export function batch_unbind_print(data) {
  return request({
    url: "/empty/print",
    method: "post",
    data: data
  });
}

export function batch_unbind_export(data) {
  return request({
    url: "/empty/export",
    method: "post",
    responseType: "blob",
    data: data
  });
}

export function batch_unbind_account(data) {
  return request({
    url: "/empty/account",
    method: "post",
    data: data
  });
}

export function export_send_models(params) {
  return request({
    url: "/member_export_models/export_send_models",
    method: "get",
    responseType: "blob",
    params
  });
}
